#pragma once


namespace Next
{
	namespace GameServer
	{
		namespace Skill
		{
			class CSkillInfo
			{
			private:
				unsigned char	uLevel;
				unsigned char	uId;
				signed int		sDamageMin;
				signed int		sDamageMax;

			public:
				CSkillInfo();
				~CSkillInfo();

				bool IsMagic();
				void Clear();
				bool Set(unsigned char type, unsigned char id, unsigned char level);
				bool Set(unsigned char id, unsigned char level);
				signed int GetDamage();

			public://gets;
				__forceinline unsigned char Level() { return uLevel; };
				__forceinline unsigned char Id() { return uId; };
				__forceinline signed int DamageMin() { return sDamageMin; };
				__forceinline signed int DamageMax() { return sDamageMax; };
			};
		}
	}
}